package com.yunban.project.template.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunban.project.template.model.domain.PersonalizedConfig;
import com.yunban.project.template.model.dto.PersonalizedConfigReq;
import com.yunban.project.template.model.vo.PersonalizedConfigResp;

import java.util.List;

/**
 * @author: lijiajun
 * @date: 2025-02-13
 * @version: 1.0
 */
public interface PersonalizedConfigService extends IService<PersonalizedConfig> {

    PersonalizedConfig findById(long id);

    List<PersonalizedConfigResp> getPersonalizedConfigInfos();

    Boolean savePersonalizedConfig(PersonalizedConfigReq personalizedConfigReq);

    Boolean editPersonalizedConfig(long id, PersonalizedConfigReq personalizedConfigReq);

    Boolean removePersonalizedConfig(long id);
}
